package com.gxp.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.gxp.common.annotation.Excel;
import com.gxp.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;
import java.util.List;

/**
 * 【请填写功能名称】对象 zknj_service_instance
 * 
 * @author zh
 * @date 2024-08-08
 */
public class ZknjServiceInstance extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long infId;

    /** 实验唯一标识 */
    @Excel(name = "实验唯一标识")
    private String expcode;

    /** 服务名称 */
    @Excel(name = "服务名称")
    private String serName;

    /** 服务类型名称 */
    @Excel(name = "服务类型名称")
    private String svtypeName;

    /** 模板名称 */
    @Excel(name = "模板名称")
    private String templateName;

    /** 仪器Id */
    @Excel(name = "仪器Id")
    private Long instId;

    /** 服务状态 */
    @Excel(name = "服务状态")
    private Long serStatus;

    /** 参数 */
    @Excel(name = "参数")
    private String acqupara;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 过程状态 */
    @Excel(name = "过程状态")
    private Long process;

    /** nmr文件 */
    @Excel(name = "nmr文件")
    private Long nmrfileId;

    private String anaNmrfileIds;

    /** 报告文件 */
    @Excel(name = "报告文件")
    private String reportfileIds;

    private String resMsg;

    private ZknjSample sample;

    private ZkInstrument instrument;

    private ZkNmrFile nmrFile;

    private List<ZkNmrFile> reportFiles;

    private Long serId;

    private Long modId;

    private String priority;

    private List<ZknjServiceApprove> zknjServiceApproves;

    public void setInfId(Long infId) 
    {
        this.infId = infId;
    }

    public Long getInfId() 
    {
        return infId;
    }
    public void setExpcode(String expcode) 
    {
        this.expcode = expcode;
    }

    public String getExpcode() 
    {
        return expcode;
    }
    public void setSerName(String serName) 
    {
        this.serName = serName;
    }

    public String getSerName() 
    {
        return serName;
    }
    public void setSvtypeName(String svtypeName) 
    {
        this.svtypeName = svtypeName;
    }

    public String getSvtypeName() 
    {
        return svtypeName;
    }
    public void setTemplateName(String templateName) 
    {
        this.templateName = templateName;
    }

    public String getTemplateName() 
    {
        return templateName;
    }
    public void setInstId(Long instId) 
    {
        this.instId = instId;
    }

    public Long getInstId() 
    {
        return instId;
    }
    public void setSerStatus(Long serStatus) 
    {
        this.serStatus = serStatus;
    }

    public Long getSerStatus() 
    {
        return serStatus;
    }
    public void setAcqupara(String acqupara) 
    {
        this.acqupara = acqupara;
    }

    public String getAcqupara() 
    {
        return acqupara;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setProcess(Long process) 
    {
        this.process = process;
    }

    public Long getProcess() 
    {
        return process;
    }
    public void setNmrfileId(Long nmrfileId) 
    {
        this.nmrfileId = nmrfileId;
    }

    public Long getNmrfileId() 
    {
        return nmrfileId;
    }
    public void setReportfileIds(String reportfileIds) 
    {
        this.reportfileIds = reportfileIds;
    }

    public String getReportfileIds() 
    {
        return reportfileIds;
    }

    public ZkInstrument getInstrument() {
        return instrument;
    }

    public void setInstrument(ZkInstrument instrument) {
        this.instrument = instrument;
    }

    public ZkNmrFile getNmrFile() {
        return nmrFile;
    }

    public void setNmrFile(ZkNmrFile nmrFile) {
        this.nmrFile = nmrFile;
    }

    public ZknjSample getSample() {
        return sample;
    }

    public void setSample(ZknjSample sample) {
        this.sample = sample;
    }

    public Long getSerId() {
        return serId;
    }

    public void setSerId(Long serId) {
        this.serId = serId;
    }

    public Long getModId() {
        return modId;
    }

    public void setModId(Long modId) {
        this.modId = modId;
    }

    public String getPriority() {
        return priority;
    }

    public void setPriority(String priority) {
        this.priority = priority;
    }

    public String getResMsg() {
        return resMsg;
    }

    public void setResMsg(String resMsg) {
        this.resMsg = resMsg;
    }

    public String getAnaNmrfileIds() {
        return anaNmrfileIds;
    }

    public void setAnaNmrfileIds(String anaNmrfileIds) {
        this.anaNmrfileIds = anaNmrfileIds;
    }

    public List<ZkNmrFile> getReportFiles() {
        return reportFiles;
    }

    public void setReportFiles(List<ZkNmrFile> reportFiles) {
        this.reportFiles = reportFiles;
    }

    public List<ZknjServiceApprove> getZknjServiceApproves() {
        return zknjServiceApproves;
    }

    public void setZknjServiceApproves(List<ZknjServiceApprove> zknjServiceApproves) {
        this.zknjServiceApproves = zknjServiceApproves;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("infId", getInfId())
            .append("expcode", getExpcode())
            .append("serName", getSerName())
            .append("svtypeName", getSvtypeName())
            .append("templateName", getTemplateName())
            .append("instId", getInstId())
            .append("serStatus", getSerStatus())
            .append("acqupara", getAcqupara())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("process", getProcess())
            .append("nmrfileId", getNmrfileId())
            .append("anaNmrfileIds", getAnaNmrfileIds())
            .append("reportfileIds", getReportfileIds())
            .toString();
    }
}
